name: Cron

on:
  schedule:
    - cron: '0 0 * * *'

jobs:
  release:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout source
        uses: actions/checkout@v2
        with:
          persist-credentials: false
      - name: Install Python
        uses: actions/setup-python@v2
      - name: Check for differences
        run: bin/check_for_differences
        env:
          OAUTH_TOKEN: ${{ secrets.OAUTH_TOKEN }}
